<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <!-- import CSS -->
    <link
      rel="stylesheet"
      href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"
    />
    <!-- import Vue before Element -->
    <script src="https://unpkg.com/vue@2/dist/vue.js"></script>
    <!-- import JavaScript -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
  </head>
  <body>
    <div id="app">
      
      <input v-for='(item,index) in list' :key='index' v-model='item.name' v-text='item.name'/>

    </div>
  </body>

  <script>
    new Vue({
      el: "#app",
      data: function () {
        return { 
          list:[
            {
              id:1,
              name:'张三'
            },
            {
              id:2,
              name:'李四'
            },
            {
              id:3,
              name:'王五s'
            }
          ]
        }
       
      },
      methods: {

      },
    });
  </script>
</html>
